{% block base_form %}
<fieldset>
	<div class="div-table-row">
		<div class="div-table-col-header"></div>
		<div class="div-table-col">
			<div class="ok">{{ ok_message }}</div>
			<div class="alert">{{ alert_message }}</div>
			<div class="info">{{ info_message }}</div>
		</div>
	</div>
	{% if person %}
	<div class="div-table-row">
		<div class="div-table-col-header"></div>
		<div class="div-table-col">
			{{ person }}
		</div>
	</div>
	{% endif %}
	{% for field in form %}
	<div class="div-table-row">
		<div class="div-table-col-header">
			{% if fields %}{{ _(fields[field.name]) }}{% else %}{{ field.label.text }}{% endif %}{% if "required" in field.flags %}<div class="error" style="display: inline;">*</div>{% endif %}:
		</div>
		<div class="div-table-col">
			{{ field }}
			{% if field.errors %}
				{% for error in field.errors %}
					<li class="error">{{error}}</li>
				{% endfor %}
			{% endif %}
		</div>
	</div>
	{% endfor %}
	<div class="div-table-row">
		<div class="div-table-col-header"></div>
		<div class="div-table-col">
			<div class="ok">{{ ok_message }}</div>
		</div>
	</div>
</fieldset>
{% endblock %}
